﻿<Application
    x:Class="OnlineVideos.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:Nav="clr-namespace:System.Windows.Navigation;assembly=Microsoft.Phone"

    xmlns:my="clr-namespace:System;assembly=mscorlib"
      xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
     xmlns:vm="clr-namespace:OnlineVideos.Game;assembly=OnlineVideos.Game"
    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
     xmlns:System="clr-namespace:System;assembly=mscorlib"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
     xmlns:AdRotator="clr-namespace:AdRotator;assembly=AdRotator"
 
    mc:Ignorable="d">



    <Application.Resources>


        <!-- Resources scoped at the Application level should be defined here. -->
        <ItemsPanelTemplate x:Key="WrapItemsTemplate">
            <toolkit:WrapPanel/>
        </ItemsPanelTemplate>

        <vm:MemoryViewModelLocator x:Key="Locator"
				d:IsDataSource="True" />

        <Nav:UriMapper x:Key="UriMapper">
            <Nav:UriMapper.UriMappings>
                <Nav:UriMapping Uri="/SearchExtras" MappedUri="/MainPage.xaml"/>
            </Nav:UriMapper.UriMappings>
        </Nav:UriMapper>

        <Style x:Key="AboutTitleStyle" TargetType="TextBlock">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontSize" Value="35"/>
            <Setter Property="FontFamily" Value="/Fonts/candyrandy.ttf#Candy Randy"/>
        </Style>
        <Style x:Key="MainPanoramaTitlestyle" TargetType="TextBlock">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontSize" Value="56"/>
            <Setter Property="FontFamily" Value="/Fonts/candyrandy.ttf#Candy Randy"/>
            <Setter Property="FontWeight" Value="Normal"/>
        </Style>


        <Style x:Key="SongsPivottyle" TargetType="TextBlock">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontSize" Value="30"/>
            <Setter Property="FontFamily" Value="Barrci"/>
        </Style>

        <Style x:Key="MainMenuItemTextStyle" TargetType="TextBlock">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontSize" Value="45"/>
            <Setter Property="FontFamily" Value="/Fonts/Visit Indonesia 2011 2upd.ttf#Visit Indonesia 2011 #2"/>
            <Setter Property="Margin" Value="0,10,0,0"/>
        </Style>

        <Style x:Key="UpgradeMessageStyle" TargetType="TextBlock">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontSize" Value="38"/>
            <Setter Property="FontFamily" Value="Calibri"/>
            <Setter Property="TextWrapping" Value="Wrap"/>
            <Setter Property="Height" Value="240"/>
            <Setter Property="Width" Value="400"/>
        </Style>

        <Style x:Key="AboutUsMenuRowStyle" TargetType="StackPanel">
            <Setter Property="Orientation" Value="Horizontal"/>
            <Setter Property="Margin" Value="0,12,0,12"/>
        </Style>

        <Style x:Key="AboutUsMenuItemText" TargetType="TextBlock">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontSize" Value="45"/>
            <Setter Property="FontFamily" Value="/Fonts/Visit Indonesia 2011 2upd.ttf#Visit Indonesia 2011 #2"/>
            <Setter Property="Margin" Value="0,10,0,0"/>
        </Style>

        <Style x:Key="FormElementLabel" TargetType="TextBlock">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontSize" Value="30"/>
            <Setter Property="FontFamily" Value="Calibri"/>
        </Style>

        <Style x:Key="RelatedAppCountStyle" TargetType="TextBlock">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontSize" Value="32"/>
            <Setter Property="VerticalAlignment" Value="Center"/>
            <Setter Property="HorizontalAlignment" Value="Center"/>
            <Setter Property="Width" Value="30"/>
            <Setter Property="Height" Value="44"/>
            <Setter Property="IsHitTestVisible" Value="False"/>
            <Setter Property="Margin" Value="17,0,0,0"/>
        </Style>

        <Style x:Key="RelatedAppCountContainer" TargetType="Ellipse">
            <Setter Property="Canvas.Left" Value="3" />
            <Setter Property="Canvas.Top" Value="5" />
            <Setter Property="Width" Value="60" />
            <Setter Property="Height" Value="60" />
            <Setter Property="VerticalAlignment" Value="Center" />
            <Setter Property="HorizontalAlignment" Value="Center" />
            <Setter Property="Fill" Value="#92278f" />
            <Setter Property="Stroke" Value="White" />
            <Setter Property="StrokeThickness" Value="3" />
            <Setter Property="IsHitTestVisible" Value="False" />
        </Style>

        <Style x:Key="DetailPagePivotTitle" TargetType="TextBlock">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontSize" Value="25"/>

            <Setter Property="FontFamily" Value="Calibri"/>
            <Setter Property="FontWeight" Value="Normal"/>
            <Setter Property="VerticalAlignment" Value="Center"/>
            <Setter Property="Margin" Value="15,0,5,0"/>
            <Setter Property="Width" Value="400"></Setter>
            <Setter Property="TextWrapping" Value="Wrap"></Setter>
        </Style>
        <Style x:Key="DetailPagePivotTitleImage" TargetType="Image">
            <Setter Property="Source" Value="/Images/Pivot/Title.png"></Setter>
            <Setter Property="Width" Value="36"></Setter>
            <Setter Property="Height" Value="36"></Setter>
            <Setter Property="Stretch" Value="Uniform"></Setter>
            <Setter Property="HorizontalAlignment" Value="Left"></Setter>
            <Setter Property="Margin" Value="15,0,0,0"/>
        </Style>
        <Style x:Key="CastPageHeaderText" TargetType="TextBlock">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontSize" Value="25"/>
            <Setter Property="FontFamily" Value="Calibri"/>
            <Setter Property="FontWeight" Value="Normal"/>
            <Setter Property="VerticalAlignment" Value="Center"/>
            <Setter Property="Margin" Value="15,0,5,0"/>
            <Setter Property="Width" Value="400"></Setter>
            <Setter Property="TextWrapping" Value="Wrap"></Setter>
            <Setter Property="Text" Value="ADD CHARACTER"/>
        </Style>
        <Style x:Key="Persondecriptiontitle" TargetType="TextBlock">
            <Setter Property="Text" Value="Character Description"></Setter>
            <Setter Property="Foreground" Value="White"></Setter>
            <Setter Property="Margin" Value="15,15,0,0"></Setter>
        </Style>
        <Style x:Key="Personroletitle" TargetType="TextBlock">
            <Setter Property="Text" Value="Character Role"></Setter>
            <Setter Property="Foreground" Value="White"></Setter>
            <Setter Property="Margin" Value="15,0,0,0"></Setter>
        </Style>
        <Style x:Key="Personnametitle" TargetType="TextBlock">
            <Setter Property="Text" Value="Character Name"></Setter>
            <Setter Property="Foreground" Value="White"></Setter>
            <Setter Property="Margin" Value="15,-10,0,0"></Setter>
        </Style>
        <Style x:Key="logo" TargetType="Image">
            <Setter Property="Source" Value="Images/Panorama/Logo.png"></Setter>
        </Style>

        <Style x:Key="Title" TargetType="Image">
            <Setter Property="Source" Value="Images/Panorama/Title.png"></Setter>
        </Style>

        <ImageBrush x:Name="bipivot" ImageSource="Images/Pivot/Background.jpg"></ImageBrush>

        <Style x:Key="tblkcategory" TargetType="TextBlock">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontSize" Value="36"/>
            <Setter Property="FontFamily" Value="Calibri"/>
            <Setter Property="FontWeight" Value="Normal"/>

        </Style>
        <Style TargetType="phone:PhoneApplicationFrame" x:Key="RootFrameStyle">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="phone:PhoneApplicationFrame">
                        <Border x:Name="ClientArea" HorizontalAlignment="{TemplateBinding HorizontalAlignment}" VerticalAlignment="{TemplateBinding VerticalAlignment}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" >
                            <Grid>
                                <Popup x:Name="pop" Height="60" Width="480"  VerticalAlignment="Top" Opened="pop_Opened_1" IsOpen="False" HorizontalAlignment="Center">
                                    <Grid Background="{StaticResource PhoneAccentBrush}" Height="60" Width="480"  VerticalAlignment="Top" HorizontalAlignment="Center">
                                        <TextBlock Text="Successfully Shared To Blog" FontSize="20" Margin="15,25,0,0" ></TextBlock>
                                    </Grid>
                                </Popup>

                                <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}" />
                                <Grid Height="80" Width="480" VerticalAlignment="Bottom" HorizontalAlignment="Center">
                                    <AdRotator:AdRotatorControl x:Name="AdRotatorWin8"
                                        AdHeight="80"
                                        AdWidth="480"
                                        VerticalAlignment="Bottom" 
                                        HorizontalAlignment="Center" SlidingAdDirection="Left" SlidingAdDisplaySeconds="20" SlidingAdHiddenSeconds="2"
                                        DefaultSettingsFileUri="/KidsTV;component/DefaultData/defaultAdSettings.xml"
                                        SettingsUrl="http://lartsoft.org/wp7ads/KidsTVdefaultAdSettings.xml"                
                                        />
                                </Grid>

                            </Grid>
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="AboutContactstyle" TargetType="TextBlock">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontSize" Value="40"/>
            <Setter Property="FontFamily" Value="Calibri"/>
            <Setter Property="Height" Value="75"/>
        </Style>

      <Style x:Key="Languagetext" TargetType="TextBlock">
            <Setter Property="Text" Value="Subtitle:"></Setter>
        </Style>
        <Style x:Key="logoimg" TargetType="Image">
            <Setter Property="Margin" Value="10,0,0,0"></Setter>
        </Style>
     <my:String x:Key="BlogUserName">lartsoft@gmail.com</my:String>
        <my:String x:Key="BlogPassword">soft#306</my:String>
        <my:String x:Key="UserUploadPageName">UserUpload</my:String>
        <my:String x:Key="OnlineImagesPageName">OnlineImages</my:String>
        <my:String x:Key="ShowParentalControl">true</my:String>
        <my:String x:Key="HistoryPageName">ShowHistory</my:String>
        <my:String x:Key="CastDetailPageName">CharacterDetail</my:String>
        <my:String x:Key="FavoritePageName">ShowFavorites</my:String>
        <my:String x:Key="DetailPageName">ShowDetails</my:String>
        <my:String x:Key="AudioApp">false</my:String>
        <my:String x:Key="DetailPage">false</my:String>
        <my:String x:Key="dtailsongs">true</my:String>
        <my:String x:Key="CategoryPvt"></my:String>
        <my:String x:Key="castpnm">true</my:String>
        <my:String x:Key="dtailchapter">false</my:String>
        <my:String x:Key="AdVisible">True</my:String>
        <my:String x:Key="songs">false</my:String>
        <my:String x:Key="movies">false</my:String>
        <my:String x:Key="ratingsongs">true,rate this video,rate this show</my:String>
        <my:String x:Key="dtailcast">true</my:String>
        <my:String x:Key="CricketDetails">false</my:String>
        <my:String x:Key="PersonGalleryPopupPage">PersonGalleryPopup</my:String>
        <my:String x:Key="dtailcheat">false</my:String>
        <my:String x:Key="AudioPivotTitle">false</my:String>
        <my:String x:Key="pvtitmSongsTitle">videos</my:String>
        <my:String x:Key="pvtTitleTwo">characters</my:String>
        <my:String x:Key="pvtFHStitlesTwo">videos</my:String>
        <my:String x:Key="pvtFHStitlesThree">characters</my:String>
        <my:String x:Key="prmh">top shows</my:String>
        <my:String x:Key="productid">38889166-f962-e011-81d2-78e7d1fa76f8</my:String>
        <my:String x:Key="misuid">33459</my:String>
        <my:String x:Key="misappid">0c52101c-439c-428e-8995-fae3279be402</my:String>
        <my:String x:Key="readMore">get more</my:String>
        <my:String x:Key="mln">show list</my:String>
        <my:String x:Key="VideoTitleName">true</my:String>
        <my:String x:Key="Message">true</my:String>
        <my:String x:Key="HideShow">Hide Shows</my:String>
        <my:String x:Key="RestoreShow">Show Shows</my:String>
        <my:String x:Key="ContextMenu">Hide Series,Show Series,HIDE SHOWS</my:String>
        <my:String x:Key="ShowUpgradePage">true</my:String>
        <my:String x:Key="UpgradePageMessage"></my:String>
        <my:String x:Key="ToStartDownloads">false</my:String>
        <ImageBrush x:Name="bi" ImageSource="Images/Panorama/Background.jpg"></ImageBrush>
        <my:Double x:Key="GameCanvasTop">50</my:Double>
        <my:String x:Key="Primaryshowsfromblog">http://kids-wp7kidsshows.blogspot.com/feeds/posts/default?alt=rss</my:String>
        <my:String x:Key="Primarypeoplefromblog">http://wp7kidspeople.blogspot.com/feeds/posts/default?alt=rss</my:String>
        <my:String x:Key="RegisterDownloadAgent">true</my:String>
        <my:String x:Key="DownloadPeople">true</my:String>
        <my:String x:Key="DownloadShow">true</my:String>
        <my:Int32 x:Key="PeopleInsertLimit">5</my:Int32>
        <my:Int32 x:Key="ShowsInsertLimit">2</my:Int32>
        <my:String x:Key="AdRotator">True</my:String>
        <my:String x:Key="FlurryAppID">9VTCXKRNTZD27V7C2VB2</my:String>
        <my:String x:Key="SettingsUrl">http://lartsoft.org/wp7ads/KidsTVdefaultAdSettings.xml</my:String>
        <my:String x:Key="type">Show</my:String>
         <my:String x:Key="RatingUserName">kidstvrating@gmail.com</my:String>
        <my:String x:Key="RatingPassword">kidstvlartrating</my:String>
        <my:String x:Key="ShowsRatingBlogUrl">http://kidstvrating.blogspot.com/feeds/posts/default?alt=rss</my:String>
        <my:String x:Key="LinksRatingBlogUrl">http://kidstvratinglinks.blogspot.com/feeds/posts/default?alt=rss</my:String>
        <my:String x:Key="ShowsRatingBlogName">kidstvrating</my:String>
        <my:String x:Key="LinksRatingBlogName">kidstvratinglinks</my:String>
    </Application.Resources>

    <Application.ApplicationLifetimeObjects>
        <shell:PhoneApplicationService 
            Launching="Application_Launching" Closing="Application_Closing" 
            Activated="Application_Activated" Deactivated="Application_Deactivated"/>
    </Application.ApplicationLifetimeObjects>

</Application>